package net.piggy.core.session.dubbo;

import net.piggy.core.executor.Executor;
import net.piggy.core.executor.simple.DubboExecutor;
import net.piggy.core.session.GatewaySession;
import net.piggy.core.session.GatewaySessionFactory;
import net.piggy.core.util.GatewayConfigUtil;

public class DubboGatewaySessionFactory implements GatewaySessionFactory {
    @Override
    public GatewaySession openSession() {
        Executor executor = new DubboExecutor();
        return new DubboGatewaySession(executor);
    }
}
